package com.garmin.tw.garminpcsync.common.domain.xmlrpc;

import java.io.Serializable;
import java.util.List;

public class UnlockUpgradableMapUpdateResult implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 226667096787925686L;

	private Integer returnCode;
	
	private List<UnlockResult> unlockResultList;

	/**
	 * Gets the return code of unlock result, and only in following list:<br>
	 * <ul>
	 * <li> 1: Success<br>
	 * <li>11: No Such Account<br>
	 * <li>12: Incorrect Password<br>
	 * <li>13: Account Locked<br>
	 * <li>14: Wrong Device Owner<br>
	 * <li>15: Device not registered<br>
	 * <li>21: Can not find the ESN<br>
	 * <li>22: Not Supported Device GPN<br>
	 * <li>41: Can not find the latest map data<br>
	 * <li>43: Can not be free upgrade<br>
	 * <li>-1: Error<br>
	 * <li>-2: Missing required parameters<br>
	 * </ul>
	 * @return the return code of unlock result
	 */
	public Integer getReturnCode() {
		return returnCode;
	}

	/**
	 * Sets the return code of unlock result.
	 * @param returnCode
	 */
	public void setReturnCode(Integer returnCode) {
		this.returnCode = returnCode;
	}

	/**
	 * Gets the list of unlock results.   
	 * @return the list of unlock results
	 */
	public List<UnlockResult> getUnlockResultList() {
		return unlockResultList;
	}

	/**
	 * Sets the list of unlock results.
	 * @param unlockResultList
	 */
	public void setUnlockResultList(List<UnlockResult> unlockResultList) {
		this.unlockResultList = unlockResultList;
	}
	
}
